Window Exception Handler
Handles exceptions that are thrown within a Compose window.
This type is a more convenient alternative to Compose-expected CustomWindowExceptionHandlerFactory. It passes both the throwable and the window to the handling method.